<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<script type="text/javascript" src="<%=path%>/scripts/My97DatePicker/WdatePicker.js"></script>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改日常考勤</title>
<link href="styles/core.css" rel="stylesheet" type="text/css">
<link href="styles/Master.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="scripts/jquery/jquery.js"></script>
<script type="text/javascript" src="scripts/common.js"></script>

<link href="scripts/My97DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var basePath = "<%=basePath%>";
</script>
<script type="text/javascript" src="scripts/attendance/attendance_modify.js"></script>
</head>
<body>
<s:form name="attendanceModifyForm" onsubmit="return false;">
	<s:hidden name="attendanceRecord.attendanceId"></s:hidden>
	<h2 style="text-align: left">修改考勤</h2>
	<hr width="100%" align="left" size="1" color="#E1EEF8">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabHeader">
    	<tr height="20px">
			<td class="tdBg_right" width="15%">工作人员编号：</td>
			<td  align="left" width="35%">
				<s:property value="%{attendanceRecord.workerCode}"/>&nbsp;<s:property value="%{attendanceRecord.workerName}"/>
			</td>
			<td class="tdBg_right" width="15%">考勤日期：</td>
			<td  align="left">
				<s:property value="%{attendanceRecord.checkDateStr}"/>
			</td>
		</tr>
    	<tr height="20px">
			<td class="tdBg_right">出勤状况：</td>
			<td  align="left">
				<s:select name="attendanceRecord.status"  id="status" list="#request.attendanceStatusList" listKey="columeId" listValue="name" required="true" cssStyle="width: 150px;" ></s:select>
				<font color="#ff0000">*</font>
			</td>
			<td class="tdBg_right">出勤时间：</td>
			<td  align="left">
				<s:textfield cssClass="Wdate" onclick="WdatePicker({el:'attendanceTime', dateFmt:'HH:mm:ss'})"
					name="attendanceRecord.attendanceTime" id="attendanceTime" cssStyle="width: 90px;"></s:textfield>
			</td>
		</tr>
	</table>
	<center>
		<div style="padding: 4px 0pt;">
			<input type="button" value="保存" class="btn_mouseout" onclick="save();"
				onmouseover="this.className='btn_mouseover'" onmouseout="this.className='btn_mouseout'"
				onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'">
			<input type="button" value="返回" class="btn_mouseout" onclick="back(true);"
				onmouseover="this.className='btn_mouseover'" onmouseout="this.className='btn_mouseout'"
				onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'">
		</div>
	</center>
</s:form>
</body>
</html>